package com.kamisama.utopia.constant.character;

public class Sense {
    public static final String LV1 = "人格崩坏";
    public static final String LV2 = "梦魇缠身";
    public static final String LV3 = "精神抖擞";
    public static final String LV4 = "元气满满";
    public static final String LV5 = "极度理智";

    public static String formatSense(int sensePercent) {
        String sense = "";
        if (sensePercent <= 20) {
            sense = "理智：" + Sense.LV1;
        } else if (sensePercent <= 40) {
            sense = "理智：" + Sense.LV2;
        } else if (sensePercent <= 60) {
            sense = "理智：" + Sense.LV3;
        } else if (sensePercent <= 80) {
            sense = "理智：" + Sense.LV4;
        } else {
            sense = "理智：" + Sense.LV5;
        }
        sense = sense + " [" + sensePercent +"%] \n";
        return sense;
    }
}
